using System;
public class Application {
	public static void Main(){
		//向控制台输出内容
		//Console.WriteLine("Hello world, I am teacher hong.");
		//Console.WriteLine("We are studing C#.");


		int blood = 100;	//声明一个变量，并赋初始值100，表示血量
		int pointX = 10;	//声明一个变量，并赋初始值10，表示X坐标
		int pointY = 20;	//声明一个变量，并赋初始值20，表示y坐标
		double price = 20.56;	//声明一个浮点型变量，并赋初始值20.56，表示身价
		string name = "张三";		//声明一个字符串变量，并赋初始值
		string role = "法师";
		bool dead = false;	//声明一个bool变量，并赋初始值，表示 挂掉 不成立
		Console.WriteLine("******人物信息******");
		Console.WriteLine("姓名:" + name);
		Console.WriteLine("角色:" + role);
		Console.WriteLine("血量:" + blood);
		Console.WriteLine("坐标:" + pointX + "," + pointY);
		Console.WriteLine("身价:" + price);
		Console.WriteLine("挂了吗？:" + dead);
		
		Console.WriteLine("");
		Console.WriteLine("模拟人物向右上角移动>>>>>>>");
		Console.WriteLine("");
		pointX = 15;	//给pointX变量重新赋值
		pointY = 25;	//给pointY变量重新赋值
		
		Console.WriteLine("******人物信息******");
		Console.WriteLine("血量:" + blood);
		Console.WriteLine("坐标:" + pointX + "," + pointY);
		Console.WriteLine("身价:" + price);
		
		
		Console.WriteLine("");
		Console.WriteLine("模拟人物被突然出现的敌人砍了一刀>>>>>>>");
		Console.WriteLine("");
	 	blood = 80;		//给blood变量重新赋值
		price = 15.84;	//给price变量重新赋值
		role = "战士";
		dead = true;	//表示 挂掉 成立了
		
		Console.WriteLine("******人物信息******");
		Console.WriteLine("角色:" + role);
		Console.WriteLine("血量:" + blood);
		Console.WriteLine("坐标:" + pointX + "," + pointY);
		Console.WriteLine("身价:" + price);
		Console.WriteLine("挂了吗？:" + dead);
		
		
		//让控制台停留
		Console.ReadKey();
	}
}